package com.zhen.Service_2;

import com.zhen.Mapper.OperateMapper;
import com.zhen.User.Fengye;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Operate {
    @Autowired
    private OperateMapper operateMapper;
    public Fengye selectAll(Integer begin, Integer end){
        List<com.zhen.User.Operate> list=operateMapper.selectoperateAll(begin,end);
        Integer count=operateMapper.selectcount();
        return new Fengye(count,list);
    }
}
